<template>
  <a-page-header
    style="border: 1px solid rgb(235, 237, 240)"
    title="返回"
    :sub-title="subTitle"
    @back="() => this.$router.go(-1)"
  >
    <template slot="extra">
      <a-tooltip placement="bottom" title="回家" arrow-point-at-center>
        <a-icon type="home" style="font-size: 20px;line-height: 32px;" @click="() => this.global.toPage('/')" />
      </a-tooltip>
    </template>
  </a-page-header>
</template>

<script>
  export default {
    props: {
      subTitle: {
        type: String
      }
    }
  }
</script>

<style>
</style>
